package com.example.gulimallcoupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 秒杀商品通知订阅
 * 
 * @author zzl
 * @email zzl@gmail.com
 * @date 2025-10-27 08:42:24
 */
//@Data
@TableName("sms_seckill_sku_notice")
public class SeckillSkuNoticeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * member_id
	 */
	private Long memberId;
	/**
	 * sku_id
	 */
	private Long skuId;
	/**
	 * 活动场次id
	 */
	private Long sessionId;
	/**
	 * 订阅时间
	 */
	private Date subcribeTime;
	/**
	 * 发送时间
	 */
	private Date sendTime;
	/**
	 * 通知方式[0-短信，1-邮件]
	 */
	private Integer noticeType;

	public SeckillSkuNoticeEntity() {
	}

	public SeckillSkuNoticeEntity(Long id, Long memberId, Long skuId, Long sessionId, Date subcribeTime, Date sendTime, Integer noticeType) {
		this.id = id;
		this.memberId = memberId;
		this.skuId = skuId;
		this.sessionId = sessionId;
		this.subcribeTime = subcribeTime;
		this.sendTime = sendTime;
		this.noticeType = noticeType;
	}

	/**
	 * 获取
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return memberId
	 */
	public Long getMemberId() {
		return memberId;
	}

	/**
	 * 设置
	 * @param memberId
	 */
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取
	 * @return skuId
	 */
	public Long getSkuId() {
		return skuId;
	}

	/**
	 * 设置
	 * @param skuId
	 */
	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	/**
	 * 获取
	 * @return sessionId
	 */
	public Long getSessionId() {
		return sessionId;
	}

	/**
	 * 设置
	 * @param sessionId
	 */
	public void setSessionId(Long sessionId) {
		this.sessionId = sessionId;
	}

	/**
	 * 获取
	 * @return subcribeTime
	 */
	public Date getSubcribeTime() {
		return subcribeTime;
	}

	/**
	 * 设置
	 * @param subcribeTime
	 */
	public void setSubcribeTime(Date subcribeTime) {
		this.subcribeTime = subcribeTime;
	}

	/**
	 * 获取
	 * @return sendTime
	 */
	public Date getSendTime() {
		return sendTime;
	}

	/**
	 * 设置
	 * @param sendTime
	 */
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	/**
	 * 获取
	 * @return noticeType
	 */
	public Integer getNoticeType() {
		return noticeType;
	}

	/**
	 * 设置
	 * @param noticeType
	 */
	public void setNoticeType(Integer noticeType) {
		this.noticeType = noticeType;
	}

	public String toString() {
		return "SeckillSkuNoticeEntity{id = " + id + ", memberId = " + memberId + ", skuId = " + skuId + ", sessionId = " + sessionId + ", subcribeTime = " + subcribeTime + ", sendTime = " + sendTime + ", noticeType = " + noticeType + "}";
	}
}
